package cate.common.table.item.hero.sheet;

import cate.common.table.ESheet;
import cate.common.table.item.hero.row.HeroStarScoreRow;

public class HeroStarScoreSheet extends ESheet<HeroStarScoreRow> {
    @Override
    public String getSheetName() {
        return "英雄评分";
    }

    public int getScore(int star){
        HeroStarScoreRow row = get(star);
        return row == null ? 0 : row.score;
    }
}
